package com.namecard.namecardapi.util;

/**
 * @author wzx
 */
public class EmailConstants {

    public static final String MAIL_SMTP_HOST = "mail.smtp.host";
    /**
     使用SMTPS协议端口
     */
    public static final String MAIL_SMTP_PORT = "mail.smtp.port";

    public static final String SMTP_PORT = "465";

    /**
     SMTPS协议
     */
    public static final String SMTP_SOCKET_FACTORY_CLASS = "mail.smtp.socketFactory.class";

    public static final String SSL_SOCKET_FACTORY = "javax.net.ssl.SSLSocketFactory";

    /**
     * 启用用户认证
     */
    public static final String MAIL_SMTP_AUTH = "mail.smtp.auth";

    /**
     * 启用TLS加密
     */
    public static final String MAIL_SMTP_STARTTLS_ENABLE = "mail.smtp.starttls.enable";

    /**
     * 发送服务器的域名
     */
    public static final String EMAIL_SMTP = "smtp.qq.com";

    /**
     发件人账号
     */
    public static final String EMAIL_USERNAME = "2660357088@qq.com";


    /**
     发件人密钥
     */
    public static final String EMAIL_KEY = "jciaoheukhdeeacg";

    /**
     * 邮件主题
     */
    public static final String TITLE = "PI邮件";

    /**
     * 主题的编码格式
     */
    public static final String TITLE_ENCODER = "unicode";

    /**
     * 邮件正文
     */
    public static final String TEXT = "您购买的数据已经打包好放置在本邮件的附件位置";

    /**
     * 正文的编码格式
     */
    public static final String TEXT_ENCODER = "text/html;charset=utf-8";

    /**
     * 附件的名字
     */
    public static final String ATTACH_NAME = "PI数据";
}
